package com.dc.pay.job.handler;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author: KEYD
 * @Date: 2020/1/14 15:19
 * @Desc: 使用任务调用实现自动化补偿
 */
@JobHandler(value = "payJobHander")
@Component
@Slf4j
public class PayJobHandler extends IJobHandler {

    @Override
    public ReturnT<String> execute(String s) throws Exception {
        log.info(">>>使用任务调度实现自动化对账");
        return SUCCESS;
    }
}
